-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move go-ipfs-config back into go-ipfs #8756
Conversation
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
… null License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
…tore-bloom-config config: add config option for bloom filter
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
…repo setConfig License: MIT Signed-off-by: Jeromy <why@ipfs.io>
License: MIT Signed-off-by: George Antoniadis <george@noodles.gr>
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
…ased License: MIT Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
License: MIT Signed-off-by: Lars Gierth <larsg@systemli.org>
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
…strap bootstrap: add a few /ip6 nodes
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
update go-libp2p-kad-dht with getclosestpeers fix
License: MIT Signed-off-by: Kevin Atkinson <k@kevina.org>
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
…ding Implement unixfs sharding
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
License: MIT Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
License: MIT Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
Implemented experimental ptp(corenet) interface
…#3929) * Allow the use of the Range header in WebTorrent License: MIT Signed-off-by: Ivan386 * Allow the use of the Range header in WebTorrent License: MIT Signed-off-by: Ivan <ivan386@users.noreply.github.com>
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
7dfe371
to
9b5d7a4
Compare
I think we should be filtering out all non-go files. That will drop all the release, gx, etc. commits. Otherwise, LGTM! |
2022-03-03 conversation: we'll merge when:
Any of the go-ipfs Stewards will then merge. |
9b5d7a4
to
d47c35f
Compare
d47c35f
to
6379013
Compare
Thanks for the feedback and the fast review @Stebalien! Now waiting for everybody's approval I guess :) (might be useful when we're ready to merge: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for doing this, 🚢ing, so we can benefit from this asap ❤️
# use the internal config package when we test the current version of go-ipfs | ||
sed -i.bak 's;"github.com/ipfs/go-ipfs-config";"github.com/ipfs/go-ipfs/config";' ./main.go | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a smart failsafe, good to keep this around to detect any future regressions 👍
…s-config Move go-ipfs-config back into go-ipfs, close ipfs/go-ipfs-config#151 This commit was moved from ipfs/kubo@83b3ec4
This PR moves the
go-ipfs-config
repo intogo-ipfs/config
.Fixes go-ipfs-config#151.
Extra care was taken into preserving the history, steps to replicate are shared below:
Notes
This branch looks daunting, but it's actually one merge commit plus 3 commits to update packages.
maybe running a
git diff go-ipfs/config go-ipfs-config
(to confirm the code is actually the same),and reviewing the last commits only would make reviewers life easier.
How to replicate
(1) Rewrite the commit history with a go-ipfs-config prefix:
(2) Move the go-ipfs-config to a subfolder
cd go-ipfs-config git filter-repo --to-subdirectory-filter config
(3) Remove non-go changes
edited remove file:
Remove these files from the history
(⚠️ I had to use
--force
, do it from a fresh repo, because as far as I know it filters the WHOLE repo)Also remove the version file from history:
(4) then merge it into go-ipfs
(now the
go-ipfs/config
folder contains the code AND its git history)(5) Update go-ipfs code to use the new config package
git mod tidy
to clean up the module.go-ipfs-as-a-library
test (we have to rewrite the module path during the tests)package-list.json
line aboutgo-ipfs-config
npx package-table --data=package-list.json
Tasks
go-ipfs-as-a-library
Clean up thetest/dependencies/go.sum
go-ipfs-config
dependency here becausegithub.com/ipfs/iptb-plugins
depends on it./ipfs
org that are NOTgo-ipfs
Follow-up tasks
.circleci/main.yml